#ifndef EGG_RENDERQUEUE_H
#define EGG_RENDERQUEUE_H

#include "Drawable3D.h"
#include "RenderSystem.h"

namespace egg{

    typedef list<Drawable3D*> DrawableList;

    class RenderQueue{
    public:
        RenderQueue();
        void clear();
        void addItem(Drawable3D* _item);

        inline DrawableList& getOpaqueList(){
            return mOpaqueList;
        }
        inline DrawableList& getTransparentList(){
            return mTransparentList;
        }
    protected:
        DrawableList mOpaqueList;
        DrawableList mTransparentList;
    };

}

#endif